package com.itjiange.service.client;

import com.itjiange.model.entity.QuestionSubmit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 判题服务
 * @author ItJianGe
 * @data 2024/3/25 10:49
 */
@FeignClient(name = "yijian-backend-judge-service-9103", path = "/api/judge/inner")
public interface JudgeFeignClient {
    @GetMapping("/do/{id}")
    QuestionSubmit doQuestion(@PathVariable("id") long id);
}
